package com.azunitech.apm.bundles.shell;

import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class FourLetterCommandActivator implements BundleActivator 
{
	private static final Logger log = LoggerFactory.getLogger(FourLetterCommandActivator.class);
	
	FourLetterWords m_Agent;
    public void start(BundleContext context) 
    {
    	log.debug("start");
    	this.m_Agent = new FourLetterWords(context);
    	this.m_Agent.startTelnetServer();
    }

    public void stop(BundleContext context) 
    {
    	this.m_Agent.stopTelnetServer();
    }
}